<?php

# Format blog posts.

class Format {
	static public function post($date, $title, $text) {
		date_default_timezone_set('Europe/Rome');
		return new Label(sprintf("%%<<b>%s</b>: <u>%s</u>.\n\n%s",
			strftime('%e %b %Y', strtotime($date)), $title, $text));
	}
}

# End of file
# vim: set ts=2 sw=2 noet:
?>
